package cn.shopping.service.login;

import java.util.List;

import cn.shopping.pojo.Admin_type;
import cn.shopping.pojo.Admin_user;

public interface adminService {

	Admin_user getuser(String usercode);
	List<Admin_type> getalltype();
	List<Admin_user> getalluser(int role);
	boolean addadmin(Admin_user users);
	Admin_user getuserByid(Integer id);
	boolean modifyadmin(Admin_user users);
	boolean deladmins(Integer id);
}
